package com.smedi.ismedi.personnel.core.port.adapter.persistence.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import com.smedi.ismedi.database.starter.model.BasicFieldEntity;

/**
 * @Author: xulinjun
 * @Date: 2021-6-15 17:12
 */
@Data
@TableName(value = "prs_sync_imis_person")
public class PersonSyncFromImisEntity implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "reference_person_id")
    private Long referencePersonId;

    @TableField(value = "last_name")
    private String lastName;

    @TableField(value = "employee_num")
    private String employeeNum;

    @TableField(value = "id_card")
    private String idCard;

    @TableField(value = "gender")
    private String gender;

    @TableField(value = "email")
    private String email;

    @TableField(value = "mobile")
    private String mobile;

    @TableField(value = "office_telephone")
    private String officeTelephone;

    @TableField(value = "hr_job")
    private String hrJob;

    @TableField(value = "org_code")
    private String orgCode;

    @TableField(value = "org_short_name")
    private String orgShortName;

    @TableField(value = "sub_org_short_name")
    private String subOrgShortName;

    @TableField(value = "sub_org_id")
    private Long subOrgId;

    @TableField(value = "top_org_id")
    private String topOrgId;

    @TableField(value = "tenant_id")
    private String tenantId;
}
